package com.roy.util;

import dev.langchain4j.model.openai.OpenAiChatModel;

/**
 * @author 山顶洞人郑某
 * @className AiUtils.java
 * @date 2025 04 01
 */
public class AiUtils {

    public static final String MODEL_NAME = "gpt-4o-mini";
    public static final String API_KEY = "demo";

    public static OpenAiChatModel getOpenAiChatModel() {
        return OpenAiChatModel.builder()
                .apiKey(API_KEY)
                .modelName(MODEL_NAME)
                .build();
    }
}
